package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Charge;
import cn.wolfcode.crm.qo.PageResult;
import cn.wolfcode.crm.qo.QueryObject;

import java.util.List;

public interface IChargeService {
    //充值明细只提供保存
    void save(Charge record, Long cardNumber);
    List<Charge> selectAll();
    //分页
   PageResult queryForList(QueryObject qo);

    /**
     * 通过会员卡号查询充值记录
     * @param cardNumber
     * @return
     */
    List<Charge> queryByCard(String cardNumber);
}
